﻿using Admin2024.Domain.Entity.System;
using Admin2024.Domain.ObjValue;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin2024.Domain.IDomainService.System.IRoleService
{
    public interface IRolePermissionService
    {
        //删除角色权限  
        Task<DomainResult<string>> DeletePermission(Guid roleId,Guid PerId);
        //给角色分配权限
        Task<DomainResult<string>> CreatePermission(Guid roleId, Guid PerId);
        //获取角色中的所有权限
        Task<DomainResult<List<AppPermission>>> GetListRolePermission(Guid roleId);
    }
}
